import { memo } from "react"
import type { IconProps } from "@tabler/icons-react"

function IconPDFFile({ size }: IconProps) {
	return (
		<svg viewBox="0 0 24 24" width={size} height={size}>
			<g fillRule="evenodd" fill="none">
				<path d="M0 0h24v24H0z" />
				<path
					fill="#FF414C"
					d="M15.763 0 23 7.237V22a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12.763Z"
				/>
				<path
					fillRule="nonzero"
					fill="#FFF"
					d="M11.448 9.184c.573.023 1.028.399 1.143 1.041.061.298.08.62.063.968-.024.461-.104.919-.253 1.546a33.54 33.54 0 0 1-.043.18l-.037.15c.402 1.047.968 1.76 1.808 2.277a11.043 11.043 0 0 1 1.718-.102c.738.024 1.283.163 1.579.454.286.285.392.802.258 1.248-.152.507-.572.83-1.193.83-.754 0-1.872-.34-2.84-.858-.557.094-1.17.26-1.979.524-.186.06-.375.124-.635.212l-.412.139-.139.047-.242.08c-1.134 1.946-2.16 2.807-2.995 2.742a1.04 1.04 0 0 1-.79-.475c-.162-.24-.233-.534-.186-.758.097-.485.449-.946 1.013-1.394.427-.34.936-.646 1.59-.983.489-.86 1.218-2.403 1.77-3.72-.433-1.678-.553-2.662-.349-3.41.126-.462.617-.76 1.151-.738Zm-2.23 8.32-.386.36-.318.284c-.165.15-.306.283-.442.42a4.719 4.719 0 0 0-.604.721c-.085.13-.15.254-.194.372l-.004.012v.013c0 .028.017.054.044.066a.076.076 0 0 0 .038.005.142.142 0 0 0 .04-.01.568.568 0 0 0 .09-.05c.086-.055.193-.142.314-.26.33-.318.716-.807 1.142-1.486l.28-.448Zm2.26-3.486-.054.14c-.425 1.123-.82 2.016-1.247 2.76l-.096.168.181-.07c.208-.08 1.031-.416.956-.386.72-.29 1.246-.466 1.81-.582l.152-.032-.124-.092c-.577-.427-1.102-1.04-1.506-1.774l-.073-.132Zm5.242 2.324c-.332-.122-.903-.167-1.71-.107l-.283.021.262.112c1.03.44 1.615.535 1.887.428a.232.232 0 0 0 .075-.044.16.16 0 0 0 .047-.218c-.042-.075-.136-.14-.278-.192Zm-5.246-6.374c-.166 0-.208.316-.183.841.022.462.1.974.208 1.314l.048.152.078-.139c.127-.225.205-.739.197-1.232-.008-.562-.115-.936-.348-.936Z"
				/>
				<path
					fill="#FFF"
					fillOpacity=".401"
					d="M17.763 7.237a2 2 0 0 1-2-2V0L23 7.237h-5.237Z"
				/>
			</g>
		</svg>
	)
}

export default memo(IconPDFFile)
